package cn.kgc.crowdfundingadmin03.service;


import cn.kgc.crowdfundingadmin03.pojo.Admin;
import cn.kgc.crowdfundingadmin03.pojo.Advertisement;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface AdvertisementService {
    //分页查询
    PageInfo<Advertisement> queryForKeywordSearch(Integer pageNum, Integer pageSize, String keyword);
    //根据id删除
    public void batchRemove(List<Integer> adminIdList);
    //增加
    public void saveAdmin(Advertisement advertisement);
    //根据id查询 修改前的查询
    public Advertisement getAdminById(Integer adminId);
    //修改
    public void updateAdmin(Advertisement admin);
}
